package com.gxuwz.restaurant.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@TableName("goodsinfo_table")
@Data
public class Goods {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String cover;
    private String goodsname;
    private String price;
    private String introduce;
    private  String type;
    private String category;
    private int stock;
    private Date expirationTime;
    private int days;//还有几天到期

}
